package dbops

////创建合同模板
//func ContractTemplateCreate(name, parentId, fieldRequired, fieldType, fieldContent, fieldExtension string) error {
//	if len(name) == 0 {
//		return bean.NewErrorMessage("名称不能为空")
//	}
//
//	stmtIn, err := dbConn.Prepare("INSERT INTO table_contract_template (name,signed_date,provinces,region,nature,content,paid_amount,received_amount)VALUES(?,FROM_UNIXTIME(?),?,?,?,?,?,?)")
//	if err != nil {
//		return err
//	}
//	_, err = stmtIn.Exec(no, signedDate, provinces, region, nature, content, paidAmount, receivedAmount)
//	if err != nil {
//		return err
//	}
//	_ = stmtIn.Close()
//	return nil
//}
